package org.grupoavatar.guiaubicua.controller;

import java.util.ArrayList;

import org.grupoavatar.guiaubicua.entities.CategoriaBean;

import android.content.Context;
import android.graphics.drawable.Drawable;

public class CategoriaController {
	
	public static POIController instance = null;
	private static ArrayList<CategoriaBean> listaCategorias = null;
	
	public static POIController getInstance() {
		if (instance == null) {
			instance = new POIController();
		}
		return instance;
	}
	
	public Drawable getIconoDrawable(Context c, CategoriaBean categoria) {
		return c.getResources().getDrawable(categoria.getIcono());
	}
}
